/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Screens;

import GamePlay.CanvasGame;
import javax.microedition.lcdui.Graphics;

/**
 *
 * @author ThanhTrung
 */
public abstract class IScreen {
    public CanvasGame canvas;
    public IScreen(CanvasGame canvas){
        this.canvas = canvas;
    }
    public abstract void load_screen();
    public abstract void un_load_screen();
    public abstract void keyEvent(int keycode,int eent);
    public abstract void update();
    public abstract void paint(Graphics g);
}
